package com.drg.center.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.guaike.core.mybatis.entity.BasePO;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 科室表
 * </p>
 *
 * @author system
 * @since 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_depart")
public class SysDepartPO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * His科室编号
     */
    private String departCode;
    /**
     * His科室名称
     */
    private String departName;
    /**
     * His父级科室编号
     */
    private String parentCode;
    /**
     * 父级科室编号链路
     */
    private String traces;
    /**
     * 医保科室编号
     */
    private String miDepartCode;
    /**
     * 医保科室名称
     */
    private String miDepartName;
    /**
     * 是否重点科室
     */
    private Boolean isMain;
    /**
     * 逻辑停用（非0:已停用, 0:未停用）
     */
    private Long disabled;



}
